package com.keta.foundation.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.keta.foundation.entity.User;

public interface UserDAO extends JpaRepository<User, Long>, JpaSpecificationExecutor<User> {

	User getByUsername(String userName);

	List<User> getByOrganizationId(Long organizationId);

}
